home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000309_fdc@columbia.edu_Sat Feb 15 13:37:51 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
38 lines
Article: 14105 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Dealing with '\' char in strings of file locations
Date: 15 Feb 2003 13:37:09 -0500
Organization: Columbia University
Lines: 21
Message-ID: <b2m1cl$m9k$1@watsol.cc.columbia.edu>
References: <a70f50e.0302121525.7922c8c3@posting.google.com> <b2i0it$lfs$1@newsmaster.cc.columbia.edu> <b2j0m9$i09$1@watsol.cc.columbia.edu> <a70f50e.0302141716.965b0bc@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1045334230 11582 128.59.39.139 (15 Feb 2003 18:37:10 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Feb 2003 18:37:10 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14105
In article <a70f50e.0302141716.965b0bc@posting.google.com>,
Wes <wesdog@hotmail.com> wrote:
: I finally got everything working on 95. On the way I discovered that
: whitespace between a function and the open paren causes issues, and
: 'if' statements where the open curley bracket was on the next line
: won't run the commands.
:
It's important to understand this is a word- and line-oriented command
language and not a fully tokenized compiled programming language like C
where spaces and linebreaks are largely ignored. Therefore you don't have
as many choices about style. It's always best to follow the examples in
the script library:
http://www.columbia.edu/kermit/ckscripts.html
We are in the planning stages of a new book that covers concepts like this
better and brings together the scattered material on scripting. Once it's
available, script writing should become much easier. No, I can't say when
it will be available; it takes as long as it takes.
- Frank